Skip to main content
Feedback

XML to JSON policy

The XML to JSON policy transforms XML content to JSON content.

Timing

On Request ContentOn Response Content
XX

Configuration

PropertyRequiredDescriptionTypeDefault
scopeyesThe execution scope (REQUEST or RESPONSE).stringRESPONSE

Example

"xml-json": {
"scope": "RESPONSE"
}

Errors

HTTP status code

CodeMessage
500The transformation cannot be executed properly.

Nested Objects

To limit processing time and memory consumption for nested objects, the policy sets a default max depth of 1000. You cannot change this default value.

On this Page